<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

if ( ! function_exists('unix_to_human_simple')){
	function unix_to_human_simple($tgl){
			$day = substr($tgl, 0, 2);
			$month = substr($tgl, 3, 2);
			$year = substr($tgl, 6, 4);
		return $year . '-' . $month . '-' . $day;
	}	
}
	
if ( ! function_exists('human_to_unix_simple')){
	function human_to_unix_simple($tgl){
			$day = substr($tgl, 8, 2);
			$month = substr($tgl, 5, 2);
			$year = substr($tgl, 0, 4);		
		return $day . '-' . $month . '-' . $year;
	}
}


?>